<html>
    <head>
	    <title>Users</title>
        <meta name="layout" content="main"></meta>
    </head>
    <body>
	    <g:each var="user" in="${users}">
	     <p><g:link action="show" id="${user.id}">${user.username}</g:link></p>
		</g:each>
		<g:paginate
           controller="${controllerName}" action="${actionName}" 
           total="${User.count()}" />
    </body>
</html>